import 'package:flutter/material.dart';
// import 'package:hello_flutter/pages/DateTimePicker.dart';
// import 'package:hello_flutter/pages/TestLayout.dart';
// import 'package:hello_flutter/pages/TestOrientation.dart';
// import 'package:hello_flutter/pages/TestRadioButton.dart';
// import 'package:hello_flutter/pages/TestFabTab.dart';
// import 'package:hello_flutter/pages/TestTheme.dart';
// import 'package:hello_flutter/pages/TestDetailPage.dart';
// import 'package:hello_flutter/pages/TestPullLoad.dart';
// import 'package:hello_flutter/pages/TestDatabase.dart';
// import 'package:hello_flutter/pages/TestEditForm.dart';
// import 'package:hello_flutter/pages/form/TestLoginScreen.dart';
// import 'package:hello_flutter/pages/form/TestTextFormField.dart';
import 'package:hello_flutter/pages/stepper/StepperTest1.dart';
// import 'package:hello_flutter/pages/dialog/TestDialog.dart';
import 'package:hello_flutter/pages/grid/TestGrid.dart';

// import 'package:hello_flutter/plugins/TestSharedPreferences.dart';
// import 'package:hello_flutter/plugins/TestMultiImagePicker.dart';
// import 'package:hello_flutter/plugins/TestSideHeaderList.dart';
// import 'package:hello_flutter/plugins/TestPhotoView.dart';

void main() => runApp(new MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    // final scaffoldKey = GlobalKey<ScaffoldState>();
    return new MaterialApp(
      title: 'Flutter Demo',
      theme: new ThemeData(
        primarySwatch: Colors.blue,
      ),
      // home: new DateTimePicker(),
      // home: new TestSharedPreferences(),
      // home: new TestLayout(),
      // home: new TestOrientation(title: "屏幕旋转Demo"),
      // home: new TestRadioButton(),
      // home: new TestFabTab(),
      // home: new TestMultiImagePicker(),
      // home: new TestTheme(),
      // home: new TestDetailPage(),
      // home: new TestPullLoad(),
      // home: new TestDatabase(),
      // home: new TestEditForm(),
      // home: new TestLoginScreen(),
      // home: Scaffold(
      //   key: scaffoldKey,
      //   body: Center(
      //     child: TestTextFormField(scaffoldKey),
      //   ),
      // ),
      // home: new TestSideHeaderList(),
      // home: new TestPhotoView(),
      // home: new StepperTest1(),
      // home: new TestDialog(),
      home: new TestGrid(),

      // _menuCardItem(context, '流程1', Icons.album, "/test/stepper"),
      // _menuCardItem(context, '流程2', Icons.album, "/test/stepper2"),
      // _menuCardItem(context, '流程3', Icons.album, "/test/stepper3"),
      // _menuCardItem(context, '图片选择', Icons.photo_camera, "/test/imagePicker"),
      // _menuCardItem(context, '编辑表单', Icons.edit, "/test/editForm"),
      // _menuCardItem(context, '编辑页面', Icons.pages, "/test/edit"),
      // _menuCardItem(context, '文本输入', Icons.input, "/test/input"),
    );
  }
}
